﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DSInvoiceSummary" targetNamespace="http://tempuri.org/DataSet1.xsd" xmlns:mstns="http://tempuri.org/DataSet1.xsd" xmlns="http://tempuri.org/DataSet1.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DSInvoiceSummary" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DSInvoiceSummary" msprop:Generator_UserDSName="DSInvoiceSummary">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="SalesInvoice" msprop:Generator_TableClassName="SalesInvoiceDataTable" msprop:Generator_TableVarName="tableSalesInvoice" msprop:Generator_RowChangedName="SalesInvoiceRowChanged" msprop:Generator_TablePropName="SalesInvoice" msprop:Generator_RowDeletingName="SalesInvoiceRowDeleting" msprop:Generator_RowChangingName="SalesInvoiceRowChanging" msprop:Generator_RowEvHandlerName="SalesInvoiceRowChangeEventHandler" msprop:Generator_RowDeletedName="SalesInvoiceRowDeleted" msprop:Generator_RowClassName="SalesInvoiceRow" msprop:Generator_UserTableName="SalesInvoice" msprop:Generator_RowEvArgName="SalesInvoiceRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SaleNo" msdata:Caption="Fattura N°" msprop:Generator_ColumnVarNameInTable="columnSaleNo" msprop:Generator_ColumnPropNameInRow="SaleNo" msprop:Generator_ColumnPropNameInTable="SaleNoColumn" msprop:Generator_UserColumnName="SaleNo" type="xs:string" />
              <xs:element name="Description" msdata:Caption="Indirizzo" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_UserColumnName="Description" type="xs:string" minOccurs="0" />
              <xs:element name="ReleaseDate" msdata:Caption="Del" msprop:Generator_ColumnVarNameInTable="columnReleaseDate" msprop:Generator_ColumnPropNameInRow="ReleaseDate" msprop:Generator_ColumnPropNameInTable="ReleaseDateColumn" msprop:Generator_UserColumnName="ReleaseDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Amount" msprop:Generator_ColumnVarNameInTable="columnAmount" msprop:Generator_ColumnPropNameInRow="Amount" msprop:Generator_ColumnPropNameInTable="AmountColumn" msprop:Generator_UserColumnName="Amount" type="xs:decimal" minOccurs="0" />
              <xs:element name="TaxCode" msdata:Caption="Iva" msprop:Generator_ColumnVarNameInTable="columnTaxCode" msprop:Generator_ColumnPropNameInRow="TaxCode" msprop:Generator_ColumnPropNameInTable="TaxCodeColumn" msprop:Generator_UserColumnName="TaxCode" type="xs:string" minOccurs="0" />
              <xs:element name="Tax" msdata:Caption="Imposta" msprop:Generator_ColumnVarNameInTable="columnTax" msprop:Generator_ColumnPropNameInRow="Tax" msprop:Generator_ColumnPropNameInTable="TaxColumn" msprop:Generator_UserColumnName="Tax" type="xs:decimal" minOccurs="0" />
              <xs:element name="Total" msdata:Caption="Totale" msprop:Generator_ColumnVarNameInTable="columnTotal" msprop:Generator_ColumnPropNameInRow="Total" msprop:Generator_ColumnPropNameInTable="TotalColumn" msprop:Generator_UserColumnName="Total" type="xs:decimal" minOccurs="0" />
              <xs:element name="RestraintAmount" msdata:Caption="Ritenuta" msprop:Generator_ColumnVarNameInTable="columnRestraintAmount" msprop:Generator_ColumnPropNameInRow="RestraintAmount" msprop:Generator_ColumnPropNameInTable="RestraintAmountColumn" msprop:Generator_UserColumnName="RestraintAmount" type="xs:decimal" minOccurs="0" />
              <xs:element name="Code" msprop:Generator_ColumnVarNameInTable="columnCode" msprop:Generator_ColumnPropNameInRow="Code" msprop:Generator_ColumnPropNameInTable="CodeColumn" msprop:Generator_UserColumnName="Code" type="xs:string" />
              <xs:element name="InvoiceType" msprop:Generator_ColumnVarNameInTable="columnInvoiceType" msprop:Generator_ColumnPropNameInRow="InvoiceType" msprop:Generator_ColumnPropNameInTable="InvoiceTypeColumn" msprop:Generator_UserColumnName="InvoiceType">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Master" msprop:Generator_TableClassName="MasterDataTable" msprop:Generator_TableVarName="tableMaster" msprop:Generator_RowChangedName="MasterRowChanged" msprop:Generator_TablePropName="Master" msprop:Generator_RowDeletingName="MasterRowDeleting" msprop:Generator_RowChangingName="MasterRowChanging" msprop:Generator_RowEvHandlerName="MasterRowChangeEventHandler" msprop:Generator_RowDeletedName="MasterRowDeleted" msprop:Generator_RowClassName="MasterRow" msprop:Generator_UserTableName="Master" msprop:Generator_RowEvArgName="MasterRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Code" msprop:Generator_ColumnVarNameInTable="columnCode" msprop:Generator_ColumnPropNameInRow="Code" msprop:Generator_ColumnPropNameInTable="CodeColumn" msprop:Generator_UserColumnName="Code" type="xs:string" />
              <xs:element name="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_UserColumnName="Description" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="SalesInvoice_Master" msdata:parent="SalesInvoice" msdata:child="Master" msdata:parentkey="Code" msdata:childkey="Code" msprop:Generator_UserChildTable="Master" msprop:Generator_ChildPropName="GetMasterRows" msprop:Generator_UserRelationName="SalesInvoice_Master" msprop:Generator_RelationVarName="relationSalesInvoice_Master" msprop:Generator_UserParentTable="SalesInvoice" msprop:Generator_ParentPropName="SalesInvoiceRow" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>